const system = {
    state: {
        isShowServeList: false, // 是否打开服务列表
        menuList: [], // 菜单列表
        selectMenu: "", // 选中的菜单
        selectMenuTitle: "", // 选中的菜单标题
        pageNavListType: 1, // 首页顶部切换参数
    },
    mutations: {
        setServeList: (state: any, self: boolean) => {
            state.isShowServeList = self;
        },
        setMenuList: (state: any, self: any) => {
            state.menuList = self;
        },
        setSelectMenu: (state: any, self: string) => {
            state.selectMenu = self;
        },
        setNavListType: (state: any, self: number) => {
            state.pageNavListType = self;
        },
        setSelectMenuTitle: (state: any, self: string) => {
            state.selectMenuTitle = self;
        },
    },
    actions: {},
};
export default system;
